package com.kantboot.business.ac.repository;

import com.kantboot.business.ac.domain.vo.BusAcRechargeProductPhoneTypeVO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface BusAcRechargeProductPhoneTypeVORepository
        extends JpaRepository<BusAcRechargeProductPhoneTypeVO, Long> {


    @Query("""
            FROM BusAcRechargeProductPhoneTypeVO
            ORDER BY priority DESC
            """)
    List<BusAcRechargeProductPhoneTypeVO> findAll();


}
